Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 8 - TCP/IP Services


About the TCP/IP Protocol Family

The TCP/IP protocol family is a set of networking protocols in wide use throughout the world for government and business applications. The TCP/IP protocol family includes a basic datagram-delivery protocol, called Internet Protocol (IP); a connectionless datagram protocol called User Datagram Protocol (UDP) that segments data to handle larger datagrams than those allowed by IP; and a connection-oriented data stream protocol that provides highly reliable data delivery, called Transmission Control Protocol (TCP). In addition to these three fundamental protocols, TCP/IP includes a wide variety of protocols for specific uses, mostly at the application-protocol level.

Figure 8-1 shows the TCP/IP functional layers and examples of TCP/IP protocols that run in each layer. For purposes of comparison, Figure 8-1 also shows the OSI model functional layers. Note that reliability of data delivery can depend on the reliability built into TCP, or can be added at the application level by protocols using UDP. Similarly, a protocol based on UDP can implement connection-oriented services at the application-protocol level.

Figure 8-1 TCP/IP protocols and functional layers

As discussed in the chapter "Endpoints" in this book, the way you use Open Transport functions to send data depends both on whether the protocol you wish to use is connection-oriented and whether it is transaction-based. Table 8-1 shows how the TCP/IP protocols provided with Open Transport fit into this matrix. Notice that the TCP/IP protocol family offers no transaction-based protocols at the transport or internet layers of the TCP/IP architecture.

Open Transport provides an application interface to the IP protocol known as RawIP, as shown in Table 8-1. For more information on this interface to the IP protocol, see "Using RawIP" on page 8-10
Table 8-1 The Open Transport protocol matrix and TCP/IP protocols
 ConnectionlessConnection-oriented
TransactionlessRawIP
UDP
TCP
Transaction-based  
.

Open Transport offers interfaces to the TCP, UDP, and IP protocols, and to the domain name resolver (DNR). Only those protocols are discussed in the rest of this chapter. Open Transport also provides implementations of the RARP, BOOTP, and DHCP protocols, but those protocols are used by Open Transport for automatic configuration of a host, and they have no application interfaces.

For general information about the other protocols shown in Figure 8-1, see any good book on TCP/IP. Two such books for information on TCP/IP protocol internals are TCP/IP Illustrated, Volume 1 by W. Richard Stevens and Internetworking with TCP/IP, Volume 1 by Douglas E. Comer.

The Open Transport TCP/IP software modules are based on the UNIX Streams architecture. For more information about Streams, see UNIX System V Release 4: Programmer's Guide: STREAMS.

The Open Transport API is based on the XTI standard as documented in X/Open CAE Specification (1992): X/Open Transport Interface (XTI).

The TCP/IP protocols are defined in a series of documents called Requests for Comments (RFCs). RFCs are available over the Worldwide Internet or from the Defense Data Network (DDN) Network Information Center (NIC) at

DDN Network Information Center
14200 Park Meadow Drive
Suite 200
Chantilly, VA 22021

Telephone: 800-365-3642

You can get information on how to obtain RFCs via e-mail by sending an e-mail message to "rfc-info@ISI.EDU". The message body must read "help: ways_to_get_rfcs".

In addition, any program that implements the file transfer protocol (FTP) can download copies of the RFC list and the RFCs themselves from the internet address "nic.ddn.mil."


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996